Component({
  externalClasses: ['class-self'],
  options: {
    addGlobalClass: true
  },
  properties: {
    name: {
      type: String,
      value: ""
    }
  },

  ready: function () {
    if (!this.data.name) {
      console.error('请传入Icon组件的name属性');
    }
  },
  methods: {}
});